package com.kingyun.gpsinspection.purificationservice.facade.model.iam.manage;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 物资信息表
 */
public class Materials extends BootstrapSearchBean implements Serializable {

    //  物料Id
    private String materialsId;

    //  物料编码
    private String materialsCode;

    //  物料名称
    private String materialsName;

    //  规格型号
    private String specifications;

    //  计量单位
    private String measurementUnit;

    //  生产厂家
    private String manufacturer;

    //  单价
    private BigDecimal unitPrice;

    //  是否删除 0默认）已经删除
    private Short isDelete;

    //  创建人id
    private String createUserId;

    //  创建时间
    private Date createTime;

    //  修改人id
    private String modifyUserId;

    //  修改时间
    private Date modifyTime;

    //  分组id( 暂时没用
    private String groupId;

    //  更新标记（暂时没用
    private short status;

    //填充字段
    private String createUserName;//创建人姓名

    private String modifyUserName;//修改人姓名

    public String getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(String materialsId) {
        this.materialsId = materialsId == null ? null : materialsId.trim();
    }

    public String getMaterialsCode() {
        return materialsCode;
    }

    public void setMaterialsCode(String materialsCode) {
        this.materialsCode = materialsCode == null ? null : materialsCode.trim();
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName == null ? null : materialsName.trim();
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications == null ? null : specifications.trim();
    }

    public String getMeasurementUnit() {
        return measurementUnit;
    }

    public void setMeasurementUnit(String measurementUnit) {
        this.measurementUnit = measurementUnit == null ? null : measurementUnit.trim();
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserName() {
        return modifyUserName;
    }

    public void setModifyUserName(String modifyUserName) {
        this.modifyUserName = modifyUserName;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
}